const state = {
    navshow: true
};
const getters = {

};
const mutations = {
    changeNavShow(state, show) {
        state.navshow = show;
    }
};
const actions = {
    change(context, show) {
        context.commit('changeNavShow', show)
    }
};
export default {
    namespaced: true,//用于在全局引用此文件里的方法时标识这一个的文件名
    state,
    getters,
    mutations,
    actions
}